Format Menu

The Format menu contains items which affect the format of the contents of the current file.

Tabs

This displays the Tabs dialog box in which you can specify the fixed positions and default tab size used in the current file. Use the Apply button to update the current file dynamically to determine how your selection will be displayed.

Tabify

This option allows you to replace a specified number of consecutive space characters with a single tab character. This feature is available for a selection or the entire file.

Untabify

This option allows you to replace single tab characters with a specified number of consecutive space characters. This feature is available for a selection or the entire file.

Increase Indent

This option will indent the first non-space (including tabs) character to the next tab position to the right for each line in the selection. This will typically involve inserting a tab character, however if the current fileÆs file type specifies that tabs must be inserted as spaces, the correct number of consecutive space characters will be inserted to reach the next tab stop.

Decrease Indent

This option will position the first non-space (including tabs) character to the next tab position to the left for each line in the selection. This will remove either a single tab character or multiple spaces.

Increase Indent by 1

This option will move the first non-space (including tabs) character to the right by one character position for each line in the selection.

Decrease Indent by 1

This option will move the first non-space (including tabs) character to the left by one character position for each line in the selection. Tab characters will be converted to consecutive space characters as required.

Trim Selection

This option will remove all trailing space and tab characters appearing at the end of each line in the selection or the entire file.

Change Columns

Change Columns allows characters to be inserted, replaced or deleted by column position. The change columns feature is very useful when working with ASCII data files in which a record is represented as a single line.

Change Case

This option allows you to change the case in which alphabetic characters are represented in the current selection. The selection can be converted to, upper case, lower case, sentence case, etc.

Sort

This option allows the current selection or file to be sorted, line-by-line, based on a number of options specified by the user.

Comment Selection

This option will insert the characters required to place the current selection within a language defined comment. If the language of current fileÆs file type specifies a number of comment styles, you are prompted which to use.

Uncomment Selection

This option will attempt to determine what comment characters have been used to enclose the current selection, and then remove these characters.

Renumber Lines

For COBOL and files containing line numbers, this option allows a range of lines to be renumbered based on options specified by the user.

Set Line Tag

This option allows the user to set the COBOL line tag for the current line, selection or entire file. The line tag may be specified by the user or selected from a list of pre-defined tags which use special tokens to represent date, etc.

Tag Modified Lines

When enabled, this option will update the COBOL line tag on each line modified using the tag specified. If a COBOL line tag has not been specified in the current fileÆs File Type, the user is prompted for the COBOL line tag to use.